package cn.wolfcode.wolf2w.api.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import cn.wolfcode.wolf2w.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 攻略分类对象 ta_strategy_catalog
 * 
 * @author 浪兎兎
 * @date 2025-05-30
 */
@Data
@TableName("ta_strategy_catalog")
public class StrategyCatalog implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String name;

    /** 目的id */
    @Excel(name = "目的id")
    private Long destId;

    /** 状态 0:显示 1:禁用 */
    @Excel(name = "状态 0:显示 1:禁用")
    private Integer state;

    /** 排序 */
    @Excel(name = "排序")
    private Integer seq;

    /** 目的名称 */
    @Excel(name = "目的名称")
    private String destName;

    /** 子攻略 */
    @TableField(exist = false)
    private List<Strategy> strategies = new ArrayList<>();

}
